package com.tong.exception;

import com.tong.result.ResultCode;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author tong
 * @date 2021/7/29 16:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyException extends RuntimeException {

    private Integer code;

    public MyException(String message) {
        super(message);
    }
}
